
package com.jf.cloud.order.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.jf.cloud.common.model.ExcelModel;

/**
 * spu信息VO
 *
 * @author zz
 * @date 2020-10-28 15:27:24
 */
public class PurchaseSpuExcelVO extends ExcelModel {
    /**
     * excel 信息
     */
    public static final String EXCEL_NAME = "采购信息";
    /**
     * 哪一行开始导出
     */
    public static final int MERGE_ROW_INDEX = 2;
    /**
     * 需要合并的列数组
     */
    public static final int[] MERGE_COLUMN_INDEX = {};

    /**
     * xls文件
     */
    public static final String XLS_FILE = "xls";

    /**
     * xlsx文件
     */
    public static final String XLSX_FILE = "xlsx";

    @ExcelProperty(value = {"商品信息", "*商品编码(必填)*"}, index = 0)
    private String partyCode;

    @ExcelProperty(value = {"商品信息", "商品名称"}, index = 1)
    private String spuName;

    @ExcelProperty(value = {"商品信息", "采购数量"}, index = 2)
    private Integer purchaseStock;
//
//    @ExcelProperty(value = {"商品信息", "采购价格"}, index = 3)
//    private Long purchasePrice;

    public String getPartyCode() {
        return partyCode;
    }

    public void setPartyCode(String partyCode) {
        this.partyCode = partyCode;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public Integer getPurchaseStock() {
        return purchaseStock;
    }

    public void setPurchaseStock(Integer purchaseStock) {
        this.purchaseStock = purchaseStock;
    }

    @Override
    public String toString() {
        return "PurchaseSpuExcelVO{" +
                "partyCode='" + partyCode + '\'' +
                ", spuName='" + spuName + '\'' +
                ", purchaseStock=" + purchaseStock +
                '}';
    }
}
